<html>
<head><meta charset="utf-8"><title>label on completion · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/label.20on.20completion.html">label on completion</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="201314313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/label%20on%20completion/near/201314313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Coenen Benjamin <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/label.20on.20completion.html#201314313">(Jun 18 2020 at 19:25)</a>:</h4>
<p>Hello <span class="user-mention" data-user-id="133169">@matklad</span>  here if I understand you suggest <a href="https://github.com/rust-analyzer/rust-analyzer/pull/4899#discussion_r441468043">https://github.com/rust-analyzer/rust-analyzer/pull/4899#discussion_r441468043</a> to not change the label but how can I do to just change the display text without affecting the filtering in editor ?</p>



<a name="201314446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/label%20on%20completion/near/201314446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Coenen Benjamin <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/label.20on.20completion.html#201314446">(Jun 18 2020 at 19:26)</a>:</h4>
<p>And BTW is it only for <code>warn</code> or for all attributes ?</p>



<a name="201359081"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/label%20on%20completion/near/201359081" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/label.20on.20completion.html#201359081">(Jun 19 2020 at 07:18)</a>:</h4>
<p>For all attributes. There are methods on CompletionItemBuilder which allow for fine grained control over how completions are represented</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>